package com.lagou.study.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "lagou-service-user", path = "user")
public interface UserFeignClientService {
    @PostMapping("info")
    String info(@RequestParam String token);
}
